package com.regulareport.form.mapper;


import com.regulareport.common.core.domain.entity.ReportPlan;
import com.regulareport.form.domain.ReportPlanListReq;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ReportPlanMapper {
    void insertReportPlan(ReportPlan reportPlan);

    int countPlan(ReportPlan reportPlan);

    void updateReportPlanById(ReportPlan reportPlan);

    ReportPlan selectById(@Param("id") Long id);

    List<ReportPlan> selectFuzzy(ReportPlanListReq req);

    void deleteByPlanId(ReportPlan id);

    void deliveryByID(ReportPlan aLong);

    void enable(ReportPlan aLong);

    List<ReportPlan> selectDeliveryPlan(ReportPlan reportPlan);

    int countUpdatePlanName(ReportPlan reportPlan);
}
